package com.ma.logica;

public class Sonido {
	public static boolean mute = false;
	
	public static void musicaPlay(){
		if(!mute){
			Assets.instance.music.mFondo.setLooping(true);
			Assets.instance.music.mFondo.play();
		}
	}
	
	public static void musicaStop(){
		Assets.instance.music.mFondo.setLooping(false);
		Assets.instance.music.mFondo.stop();
	}
	
	public static void explosionPlay(){
		if(!mute){
			Assets.instance.sounds.boomSound.play();
		}
	}
	
	public static void coinPlay(){
		if(!mute){
			Assets.instance.sounds.coin.play();
		}
	}
	
	public static void diamantePlay(){
		if(!mute){
			Assets.instance.sounds.diamanteSound.play();
		}
	}
}
